package com.frame.service.base.biz.convert.bak.dict;

import com.frame.convert.converter.Transform;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

/*
 * @author zhangyan
 * @date 2021-03-31 20:20:15
 **/
@Documented
@Target({ElementType.FIELD})
@Retention(RUNTIME)
@Transform(converter = DictNameConverter.class)
public @interface DictName {

    /**
     * 源属性
     */
    String sourceField();

}
